// import counterReducer from '../components/counter/reducer'   //这是引入模块里的reducer
// import todosReducer from '../components/todos/reducer'
import {combineReducers} from 'redux'    //合并reducer  把很多的reducer合并为一个

var reducer = combineReducers({
    "counter":counterReducer,
    "todos":todosReducer
    // 前者是模块名，后者是reducer的名字
})
export{reducer}